package com.hex.ds.hdtp.core.inf.data.contrast.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * @Package: com.hex.ds.hdtp.core.inf.data.contrast.po
 * @ClassName CrossDbContrastTemplatePo
 * @Description: 跨库对比模板-PO对象
 * @Author: wz.li
 * @Date 2023/7/24 16:17
 * @Version v2.0.2
 **/
@Data
@TableName(value = "tm_cross_db_contrast_template")
public class CrossDbContrastTemplatePo implements Serializable {

    @TableId(value = "pk_id", type = IdType.ASSIGN_UUID)
    private String pkId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "is_cycle_contrast")
    private String isCycleContrast;

    @TableField(value = "cron_expressions")
    private String cronExpressions;

    @TableField(value = "contrast_scene")
    private String contrastScene;

    @TableField(value = "is_create_table")
    private String isCreateTable;

    @TableField(value = "is_contrast_partition_field")
    private String isContrastPartitionField;

    @TableField(value = "is_contrast_field_count")
    private String isContrastFieldCount;

    @TableField(value = "is_contrast_field_name")
    private String isContrastFieldName;

    @TableField(value = "is_contrast_field_type")
    private String isContrastFieldType;

    @TableField(value = "is_contrast_field_length")
    private String isContrastFieldLength;

    @TableField(value = "is_contrast_field_precision")
    private String isContrastFieldPrecision;

    @TableField(value = "is_contrast_encoded")
    private String isContrastEncoded;

    @TableField(value = "is_has_data")
    private String isHasData;

    @TableField(value = "is_sum_char_length")
    private String isSumCharLength;

    @TableField(value = "is_sum_char_trim_length")
    private String isSumCharTrimLength;

    @TableField(value = "is_sum_number_field")
    private String isStatisticsNumberSum;

    @TableField(value = "is_statistics_data_count")
    private String isStatisticsDataCount;

    @TableField(value = "is_all_field")
    private String isAllField;

    @TableField(value = "is_char_null_to_empty")
    private String isCharNullToEmpty;

    @TableField(value = "is_number_null_to_zero")
    private String isNumberNullToZero;

    @TableField(value = "is_max_fault_tolerance")
    private String isMaxFaultTolerance;

    @TableField(value = "is_max_char_length")
    private String isMaxCharLength;

    @TableField(value = "max_fault_tolerance_num")
    private Integer maxFaultToleranceNum;

    @TableField(value = "data_comparison_type")
    private String dataComparisonType;

    @TableField(value = "data_extract_scope")
    private Integer dataExtractScope;

    @TableField(value = "less_extract_scope_type")
    private String lessExtractScopeType;

    @TableField(value = "less_extract_scope_custom")
    private Integer lessExtractScopeCustom;

    @TableField(value = "greater_extract_scope_type")
    private String greaterExtractScopeType;

    @TableField(value = "greater_extract_scope_custom")
    private Integer greaterExtractScopeCustom;

    @TableField(value = "crt_user" , fill = FieldFill.INSERT)
    private String crtUser;

    @TableField(value = "crt_user_name" , fill = FieldFill.INSERT)
    private String crtUserName;

    @TableField(value = "crt_ts" , fill = FieldFill.INSERT)
    private String crtTs;

    @TableField(value = "up_user" , fill = FieldFill.INSERT_UPDATE)
    private String upUser;

    @TableField(value = "up_user_name", fill = FieldFill.INSERT_UPDATE)
    private String upUserName;

    @TableField(value = "up_ts" , fill = FieldFill.INSERT_UPDATE)
    private String upTs;
}
